import createAxios from '/@/utils/axios'

export const controllerUrl = '/user/user.User/'

export function agencyFee(data: anyObj) {
    return createAxios(
        {
            url: controllerUrl + 'agencyFee',
            method: 'post',
            data: data,
        },
        {
            showSuccessMessage: true,
        }
    )
}

export function getUserInfo(userId: number) {
    return createAxios({
        url: controllerUrl + 'getUserInfo',
        method: 'get',
        params: {
            user_id: userId,
        },
    })
}

